/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model.map.plugin;

import java.awt.Image;
import java.util.ArrayList;
import model.game.GameInterface;
import model.map.GridMap;
import model.utility.ImageUtility;

/**
 *
 * @author dolphinigle
 */
public class TestMap extends GridMap {

  private static String[] map =
 {  "XXXXXXX",
    "XO....X",
    "XOXXX.X",
    "XOX...X",
    "X.XOOXX",
    "X.XC.OX",
    "X..XXXX",
    "XOO.X.X",
    "XXXXXXX"
  };

  /**
   * Constructor
   */
  public TestMap(GameInterface game) {
    super(game, map);
  }

  @Override
  public String getName() {
    return "Test Map";
  }

  @Override
  public String getDescription() {
    return "Test map";
  }

  @Override
  public Image getImage() {
    return ImageUtility.loadImage("resources/pictures/field/backdrop.jpg");
  }

  @Override
  public ArrayList<String> getPossibleTeleportDestinations() {
    ArrayList<String> destinations = new ArrayList<String>();
    return destinations;
  }

  @Override
  public int getTeleportXCoordinate(String destination) {
    assert false;
    return 0;
  }

  @Override
  public int getTeleportYCoordinate(String destination) {
    assert false;
    return 0;
  }

  @Override
  public int getOneCellSizeInPixel() {
    return 64;
  }

  @Override
  public boolean isShop() {
    return true;
  }

  @Override
  public boolean isHouse() {
    return true;
  }

}
